$OpenBSD: patch-bindings_octave_demos_Makefile_in,v 1.3 2009/04/05 16:21:55 steven Exp $
--- bindings/octave/demos/Makefile.in.orig	Sun Nov 18 21:04:00 2007
+++ bindings/octave/demos/Makefile.in	Fri May 23 21:10:35 2008
@@ -138,6 +138,7 @@ CXXDEPMODE = @CXXDEPMODE@
 CXXFLAGS = @CXXFLAGS@
 CYGPATH_W = @CYGPATH_W@
 DATA_DIR = @DATA_DIR@
+EXAMPLE_DIR = @EXAMPLE_DIR@
 DB2X_TEXIXML = @DB2X_TEXIXML@
 DB2X_XSLTPROC = @DB2X_XSLTPROC@
 DB_SS_HTML_PUBID = @DB_SS_HTML_PUBID@
@@ -502,7 +503,7 @@ examples_octave = \
 	lena.img
 
 EXTRA_DIST = $(examples_octave)
-@enable_octave_TRUE@examples_octavedir = $(DATA_DIR)/examples/octave
+@enable_octave_TRUE@examples_octavedir = $(EXAMPLE_DIR)/octave
 @enable_octave_TRUE@examples_octave_DATA = $(examples_octave)
 all: all-am
 
